#ifndef _ccd_h
#define _ccd_h
#include "headfile.h"
void lcd_show_ccd(uint16 IMG[]);
 uint16 myabs(int16 number);
void get_mid_point(void);
void get_offset(void);
void ccd_two_value(uint16 value);
void  get_image_value(void);
extern int16 offset;
extern uint8	mid_point;
extern uint8 left_point;
extern uint8 right_point;

extern uint8  ccd_data_01[128];
extern uint16 imge_value;
#define LimitL(L) (L=((L<15)?15:L))
#define LimitH(H) (H=((H>112)?112:H))

#endif